package exception.RunException;

/*
运行时异常：
        1、定义一个异常类，继承RuntimeException
        2、重写构造器
        3、通过throw new 异常类("“)来创建异常对象并抛出
*/
public class AgeIllegalRuntimeException extends RuntimeException{
    public AgeIllegalRuntimeException() {
    }
    public AgeIllegalRuntimeException(String message) {
        super(message);
    }
}
